package com.wn.pay.api;

import com.wn.common.model.dto.pay.PayBackDTO;
import com.wn.common.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author yellow Docter
 * @date 2023 -08-07
 * @desc
 */
@FeignClient("sddfp-pay-back-service")
public interface BorrowPayPlanApi {

    @PostMapping("/pay/inner/plan")
    Result<String> payPlan(@RequestBody PayBackDTO payBackDTO);

}
